package com.cam.mall.order.info.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cam.framework.crud.CrudEntity;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("mall_order")
public class Order extends CrudEntity {

    private static final long serialVersionUID = 657896543546878965L;

    /*
    * 订单编号，必须，对外以此为凭，且不连续
    * */
    private String sn;

    /*
    * 支付状态
    * */
    private String payState;

    /*
    * 订单状态
    * */
    private String state;

    /*
    * 订单来源
    * */
    private String clientType;

    /*
    * 订单来源依凭
    * */
    private String clientKey;

    /*
    * 订单金额
    * */
    private BigDecimal price;

}
